package cn.edu.zafu.bigdata.wupeng;

public class Wym_CESHI {
    public static void main(String[] args){
        Wym_ANIMAL animal=new Wym_ANIMAL();
        animal.makeSound();

        Wym_DOG dog=new Wym_DOG();
        dog.makeSound();

        Wym_CAT cat=new Wym_CAT();
        cat.makeSound();

        Wym_MathOperations A=new Wym_MathOperations();
        Wym_MathOperations B=new Wym_MathOperations();
        Wym_MathOperations C=new Wym_MathOperations();
        System.out.println(A.add(1,2));
        System.out.println(B.add(1.01,1.02));
        System.out.println(C.add(3,4,5));

        Wym_book book1=new Wym_book("Java","wang",30.01);
        Wym_book bool2=new Wym_book("math","liu",30.02);
        System.out.println(book1);
        System.out.println(bool2);

        Wym_Vehicle vehicle=new Wym_Vehicle();
        vehicle.move();

        Wym_car car=new Wym_car();
        car.move();

        Wym_Bicycle Bicycle=new Wym_Bicycle();
        Bicycle.move();
    }
}
